.comparison-container {
  position: relative;
  overflow: hidden;
  cursor: crosshair;
  background-color: #000;
  border: 1px solid #ccc;
}

img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.divider {
  position: absolute;
  top: 0;
  width: 4px;
  height: 100%;
  cursor: ew-resize;
  transition: left 0.3s ease;
}

.label {
  position: absolute;
  top: -30px;
  left: 50%;
  display: flex;
  justify-content: space-between;
  width: 200px;
  padding: 5px;
  background-color: rgb(255 255 255 / 80%);
  border-radius: 4px;
  transform: translateX(-50%);
}

.left-label {
  color: var(--el-text-color-regular);
}

.right-label {
  color: var(--el-text-color-regular);
}

.mask {
  position: absolute;
  pointer-events: none;
  background-color: rgb(0 0 0 / 20%);
  border: 2px solid rgb(0 255 0 / 70%);
}

.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  pointer-events: none;
}
